//
// Created by hkkzzxz on 24-9-3.
//

#ifndef YUNSHI_USERLOGIN_H
#define YUNSHI_USERLOGIN_H

// 用户登陆实体类

#include <iostream>

#include "Model.h"

class UserLogin : public Model {
public:
    UserLogin() = default;

    void FillFromRow(sql::ResultSet *rs) override;

    [[nodiscard]]const std::string &getSalt() const;

    [[nodiscard]]const std::string &getPassword() const;

    [[nodiscard]]const std::string &getIdentity() const;

private:
    std::string salt;
    std::string password;
    std::string identity;
};


#endif //YUNSHI_USERLOGIN_H
